package net.wanho.shop.service;

import net.wanho.shop.po.Permission;
import net.wanho.shop.vo.PermVo;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author 猛虎王
 * @since 2024-12-24
 */
public interface PermissionService {
//    PageInfo findPage(int pageNum, int pageSize, Permission permission);

    Permission findById(Serializable psId);

    void add(Permission permission);

    void modify(Permission permission);

    void removeById(Serializable psId);

    List<PermVo> findType(String type);
}
